home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / umich / network / ka9q / n890421.zoo / read.me < prev    next >
Text File  |  1992-06-20  |  16KB  |  341 lines

  1. [ see readme.st ]
  2.  
  3.  
  4.  
  5. KA9Q TCP is an implementation of TCP/IP for the PC.  This is a Unix
  6. port based on a version from mid-1989.  Unfortunately the more recent
  7. versions of KA9Q are harder to port to Linux.
  8.  
  9. I don't have a manual for this exact version.  There's builtin help.
  10. The commands primarily set parameters (the ip and tcp commands), or
  11. start services.  In general the same command is used to set and
  12. examine parameters.  When you type the command with no value, it shows
  13. the current value. 
  14.  
  15. To use KA9Q, put startup.net and possibly domain.txt in your home
  16. directory, and run "net".  You will probably need to tailor
  17. startup.net for your configuration.  See the section at the end of
  18. this document on configuration.  Note that you can give an argument to
  19. the "net" command.  It will be used as the startup file in place of
  20. startup.net.  By default, startup.net and other files are in your home
  21. directory (the value of the environment variable HOME).  You can put
  22. them somewhere else by using the environment variable NETHOME.
  23.  
  24. If you are using SLIP, note that you must first dial the modem and
  25. establish a SLIP connection.  The exact details on doing this are
  26. different at each site.  Unfortunately you're probably going to need
  27. help from system or network support staff in order to use SLIP.
  28. Because SLIP effectively connects you to someone's local network,
  29. using it normally requires logging in with a password.  I recommend
  30. using kermit's script facility to dial and set up SLIP.  It did not
  31. seem work adding a similar facility to KA9Q.
  32.  
  33. If your site does not current support SLIP, they will probably have to
  34. do a bit of systems work.  For Unix systems, typically this will
  35. involve adding a SLIP device driver, and then enabling routing.  (An
  36. appropriate driver is available for the Sun, although I don't know
  37. where.  I believe it can be installed without Sun source.)  Many
  38. terminal servers will support SLIP directly, so enabling it will
  39. merely involve changing a configuration file.
  40.  
  41. Aside from configuration commands (which typically go into
  42. startup.net), the most common commands are probably telnet and ftp.
  43. Both take a host name.  Once you are connected, the "escape character"
  44. (initially ^]) lets you do some special things.  You type it followed
  45. by another character. Except for the escape character, the characters
  46. are folded, so that c, C, and ^C are equivalent.  Here's a list of the
  47. special characters:
  48.  
  49.   escape character (i.e. two in a row) - send a real escape character
  50.   x or ^x - return to command mode
  51.   b or ^b - send break
  52.   c or ^c - send interrupt process
  53.   o or ^c - abort output
  54.   t or ^t - are you there?
  55.   h or ^h - send telnet erase character
  56.   u or ^u - send telnet erase line
  57.   ?       - print this help message
  58.   
  59. Once you return to command mode, the "session" command can be used to
  60. switch between connections.  With no arguments, it shows the current
  61. sessions.  With a number, it will reconnect you to that session.
  62. There's a disconnect command to kill a session (also some stronger
  63. ways of doing it).
  64.  
  65. Telnet normally operates in full duplex, with the other system
  66. echoing.  However if that system refuses echoing, or if you use the
  67. command "echo refuse", KA9Q will echo locally.  In this case you have
  68. the normal line editing functions.  Several control characters have
  69. special functions.  Note that in local echo mode, you do not need to
  70. hit the escape character first.
  71.  
  72.   escape character - return to command mode
  73.   ^v - quote the next character
  74.   ^b - send break
  75.   ^c - send interrupt process
  76.   ^o - abort output
  77.   ^t - are you there?
  78.  
  79. Telnet will pass your TERM environment variable as the terminal type
  80. if the other end asks for it.  It will implement flow control locally
  81. if the other end understand the remote flow control option.  If the
  82. other end does a "telnet sync" correctly, it will suppress output when
  83. appropriate.  E.g. when talking to a Unix system, if you type ^C or ^O
  84. in the middle of a large output, output should stop immediately.
  85. However there may be a pause before getting the next prompt, as some
  86. previously buffered data is probably still going to be transmitted.
  87.  
  88. The "ip stat" and "tcp stat" commands are useful to get statistics.
  89. "Ip stat" shows both the IP and SLIP level.  If header compression is
  90. being used, it will show how many packets were compressed and how many
  91. were oot.
  92.  
  93. FTP is sort of odd.  It looks like you are in an interactive
  94. conversation with the FTP server at the other end, with no local
  95. command prompt.  Most commands are passed directly to the remote
  96. server, but in fact there is a local command parser, which will
  97. intervene for a few commands:
  98.  
  99.    cd, dir, list, get, ls, mkdir, nlst, rmdir, put, type
  100.  
  101. get and put should be used to transfer files.
  102.  
  103. It's possible to run a server which others can connect to, though I
  104. haven't tried it except for ftp.  The command is "start ftp", etc.
  105. For ftp, a login is required.  The file ftpusers, in your home
  106. directory, contains a list of users and passwords.
  107.  
  108. Here's a list of commands:
  109.  
  110.    ! - call a recursive shell
  111.    arp - set arp parameters
  112.    ax25 - configure ham interface
  113.    attach - define an interface - must be used for each interface
  114.    bootp - request our IP address from a server
  115.    connect - for AX25, define call sign for interface
  116.    cd
  117.    close
  118.    disconnect
  119.    dir - do a directory on the local system
  120.    domain - configure domain name system
  121.    eaglestat
  122.    echo - refuse or accept - request to disable telnet remote echo
  123.    eol - Unix or standard end of line options [standard is recommended,
  124.     even for use on Unix systems]
  125.    escape - change escape character
  126.    etherstat
  127.    exit
  128.    finger
  129.    forward - divert packets from one interface to another
  130.    ftp - open an ftp connection
  131.    hapnstat
  132.    help - print command list
  133.    hostname - set/examine host name
  134.    kick
  135.    log
  136.    ip - set/examine IP level parameters
  137.    memstat
  138.    mbox, mode - AX25 commands
  139.    mulport
  140.    netrom
  141.    nrstat
  142.    param - set/examine interafce parameters
  143.    ping - send ping to a host
  144.    pwd 
  145.    rdate [offset] [host] - set date/time from UDP time daemon.  see below
  146.    record
  147.    remote
  148.    reset - kill connection
  149.    route - set up routes
  150.    session - see above: move to a different session
  151.    shell - call a subshell
  152.    smtp - mail handling
  153.    start - start server
  154.    stop - stop server
  155.    tcp - set/examine tcp parameters
  156.    telnet - open telnet connection
  157.    trace - enable low-level debugging (no arguments - show current status)
  158.     trace to <file> - put trace output on file (use "con" for console)
  159.     trace <device> [<bits>] - trace packets on device
  160.         device is typically "sl0" or "loopback"
  161.         bits are in hex:
  162.             1 - output, 10 - input (else no tracing)
  163.             100 - dump data in ascii, 200 - hex (else headers only)
  164.     trace cmdmode|allmode - show trace just when at command level?
  165.     trace telnet [on | off] - show telnet options and urgent data
  166.    udp - set/examine udp parameters
  167.    upload
  168.    wait - control mail select
  169.  
  170. The rdate command uses the old-style time protocol (often known as
  171. "rdate"), on UDP port 37, to get the date and time, and then sets the
  172. system clock.  Note that the protocol always gives time in GMT.  If
  173. your system clock is running on GMT (which is the normal way Unix
  174. should run), this is fine.  Otherwise, you'll need to specify the
  175. offset in minutes.  For time zones west of GMT, this should be a
  176. negative number. For the Eastern U.S., when not in daylight time, the
  177. offset is -300, because EST is 5 hours (300 minutes) west of GMT.
  178. If no host is specified, a UDP broadcast is used.
  179.  
  180. This configuration of KA9Q has been tested only with SLIP.  Code is
  181. also included for the KISS device (for ham radio) and Linux generic
  182. Ethernet support using /dev/eth.  /dev/eth should either work or come
  183. close to working: it's based on diffs made from a recent version of
  184. KA9Q.  I don't know of anyone who has tested KISS.  Past experience
  185. suggests that users will prefer Kermit to SLIP unless you use SLIP
  186. with header compression.
  187.  
  188. Note that this program dep